package io.itit.ecp.admin.provide.action.resp.statistics;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Map;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：统计数据
 * @Date：Create by 2023-07-26 17:11:31
 */
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("统计数据")
public class StatisticsDataResp {

    @ApiModelProperty("编号")
    private String code;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("数值")
    private String value;

    @ApiModelProperty("数值(单位)")
    private String valueUnit;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("对比值")
    private String compareValue;

    @ApiModelProperty("对比值(单位)")
    private String compareValueUnit;

    @ApiModelProperty("对比率")
    private String compareRate;

    @ApiModelProperty("对比单位")
    private String compareUnit;

    @ApiModelProperty("对比排序（升：asc，降：desc，持平：null）")
    private String compareOrder;

    @ApiModelProperty("对比颜色")
    private String compareColor;

    @ApiModelProperty("扩展信息")
    private Map<String, Object> extInfo;

    @ApiModelProperty("最新数据时间")
    private String lastDate;

}
